package com.kashow.bean.chat;

/**
 * Created by yybs on 16/11/16.
 */

public class UserJoin extends BaseChat {
    private String roomId;
    private int index;

    public String getRoomId() {
        return roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    @Override
    public int getItemType() {
        return BaseChat.USER_JOIN;
    }

    @Override
    public String toString() {
        return super.toString() + "UserJoin{" +
                "roomId='" + roomId + '\'' +
                ", index=" + index +
                '}';
    }
}
